projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75db9a6
)
(LaTeX patterns): Don't match \( and \[ following a \.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 15 Mar 1994 06:14:20 +0000
(06:14 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 15 Mar 1994 06:14:20 +0000
(06:14 +0000)
lisp/hilit19.el
patch
|
blob
|
history
diff --git
a/lisp/hilit19.el
b/lisp/hilit19.el
index 2bf5f920a4359ee743133dc5c0b64d20b19652c5..eca6d350f2eaf74d86cf0f1cbabd004395ab0a8c 100644
(file)
--- a/
lisp/hilit19.el
+++ b/
lisp/hilit19.el
@@
-1255,8
+1255,8
@@
number of backslashes."
("\\\\caption\\(\\[[^]]*\\]\\)?{" "}" label)
;; formulas
- ("\\\\(" "\\\\)" formula) ; \( \)
- ("\\\\\\[" "\\\\\\]" formula) ; \[ \]
+ ("
[^\\]
\\\\(" "\\\\)" formula) ; \( \)
+ ("
[^\\]
\\\\\\[" "\\\\\\]" formula) ; \[ \]
("[^$]\\($\\($[^$]*\\$\\|[^$]*\\)\\$\\)" 1 formula) ; '$...$' or '$$...$$'
;; things that bring in external files